<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>系统配置-服务端配置</title>
    <jsp:include page="../../include/base.jsp"></jsp:include>
	<jsp:include page="../../include/common.jsp"></jsp:include>
	<jsp:include page="../../include/baseManage.jsp"></jsp:include>
	
  </head>
  <body>
  <div class="mini-panel" style="width:100%;height:100%;" borderStyle="border:0;" 
	    showHeader="false" showToolbar="true" bodyStyle="padding:0;">
	    <div property="toolbar" style="border:0;">
	    	<div class="mini-toolbar" style="border:0;padding-left:6px;">
	    		<div class="operatePanel">
		       		<input id="server_config_edit" class="mini-button" text="保存编辑" 
		       			iconCls="icon-save" plain="false" onclick="ServerCfgHandler.save"/>
			    </div>
	    	</div>
	    </div>
	    <div title="商品缩略图配置" class="mini-panel" style="width:100%;" borderStyle="border:0;" 
	    	headerStyle="border-bottom:1px solid #C9C9C9;">
	    	<table style="width:600px;font-size:12px;" align="center" cellpadding="6">
		    	<tr>
		    		<td align="right" width="120px">商品小缩略图、宽</td>
		    		<td>
		    			<input id="sscGswidth" class="mini-textbox" required="true" vtype="range:1,500" width="130"/>
		    			<font>（像素）</font>
		    		</td>
		    		<td align="right">高</td>
		    		<td>
		    			<input id="sscGsheight" class="mini-textbox" required="true" vtype="range:1,500" width="130"/>
		    			<font>（像素）</font>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">商品中缩略图、宽</td>
		    		<td>
		    			<input id="sscGmwidth" class="mini-textbox" required="true" vtype="range:1,1000" width="130"/>
		    			<font>（像素）</font>
		    		</td>
		    		<td align="right">高</td>
		    		<td>
		    			<input id="sscGmheight" class="mini-textbox" required="true" vtype="range:1,1000" width="130"/>
		    			<font>（像素）</font>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">商品大缩略图、宽</td>
		    		<td>
		    			<input id="sscGbwidth" class="mini-textbox" required="true" vtype="range:1,2000" width="130"/>
		    			<font>（像素）</font>
		    		</td>
		    		<td align="right">高</td>
		    		<td>
		    			<input id="sscGbheight" class="mini-textbox" required="true" vtype="range:1,2000" width="130"/>
		    			<font>（像素）</font>
		    		</td>
		    	</tr>
		    </table>
	    </div>
	    <div title="会员信息配置" class="mini-panel" style="width:100%;" borderStyle="border:0;" 
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;">
	    	<table style="width:600px;font-size:12px;" align="center" cellpadding="6">
		    	<tr>
		    		<td align="right" width="120px">会员身份保持时间</td>
		    		<td>
		    			<input id="sscId" class="mini-textbox" style="display: none;"/>
		    			<input id="sscLasttime" class="mini-textbox" required="true" vtype="range:1,12" width="130"/>
		    			<font>（月份）</font>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">是否启用积分功能</td>
		    		<td>
		    			<div id="sscIntegral" name="sscIntegral" class="mini-radiobuttonlist" 
			    		 	repeatItems="2" repeatLayout="table" repeatDirection="horizontal"  
			    		 	textField="text" valueField="value">
					</div> 
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">是否启用等级功能</td>
		    		<td>
		    			<div id="sscGrade" name="sscGrade" class="mini-radiobuttonlist" 
			    		 	repeatItems="2" repeatLayout="table" repeatDirection="horizontal"  
			    		 	textField="text" valueField="value">
					</div> 
		    		</td>
		    	</tr>
		    </table>
	    </div>
	    <hr style="width:100%;border:0;border-bottom:1px dashed #D2D2D2;"/>
	</div>
  </body>
  <script src="handler/ServerCfgHandler.js" type="text/javascript"></script>
</html>

